
namespace SpiderMaster.AspNet.TradingSystem
{
    public sealed partial class TradingCenterMember
    {
        /// <summary> Determines whether this User is in role. </summary>
        /// <param name="Role">The role.</param>
        /// <returns>
        /// 	<c>true</c> if is in the specified role; otherwise, <c>false</c>.
        /// </returns>
        [ReganSchroder(8, 10, 1, 10)]
        public bool IsInRole(PredefinedRole Role)
        {
            return RoleManagement.IsUserInRole(UserName, Role);
        }
    }
}